package com.crm.model.system.job.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("crm_job")
public class Job {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String code; //岗位编码
    private String name; //岗位名称
    private Integer orders; //显示顺序
    private Integer status; //岗位状态,1-启用,2-禁用
    private String description; //岗位描述,字数不超过50个字
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("create_user")
    private String createUser;
    @TableField("update_user")
    private String updateUser;

}
